﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LiquidTrading.RapidAdditionHelper.Credentials
{
    public class FileRepoFileLog : FIXCredentials
    {
        public FileRepoFileLog(string id, string fixVersion, string senderId, string targetId, string fixHost, int fixPort, int heartbeatInterval, string dataDicLocation, string messageLogLocation, bool logAllMessages)
            : base(id, fixVersion, senderId, targetId, fixHost, fixPort, heartbeatInterval)
        {
            LogLocationBase = messageLogLocation;
            LogLocation = messageLogLocation + "\\" + DateTime.Now.ToString("yyyyMMdd");
            RepoLocation = dataDicLocation;
            LogAllMessages = logAllMessages;
        }

        public string RepoLocation { get; private set; }
        public string LogLocation { get; private set; }
        public string LogLocationBase { get; private set; }
        public bool LogAllMessages { get; private set; }        
    }
}
